/*
 *  msw/graphic2D.h
 *  mini
 *
 *  Created by jin on 1/1/11.
 *  Copyright 2011 cs. All rights reserved.
 *
 */

#ifndef INCLUDED_MSW_GRAPHIC2D_H
#define INCLUDED_MSW_GRAPHIC2D_H

#include <windows.h>
#include <graphic2D.h>

class MSWGraphic2D : public Graphic2D
{
public:
    MSWGraphic2D(HDC hdc_);
    virtual ~MSWGraphic2D();

    virtual void clear_rect(float x, float y, float w, float h);
    virtual void draw_line(float x0, float y0, float x1, float y1);
private:
    HDC hdc;
};

#endif //INCLUDED_WINDOW_H
